package com.hubu.string;
public class StringCoderTest {
    public static void main(String[] args) {
        StringCoder stringCoder=new StringCoder();
        //测试压缩
        String encode = stringCoder.encode("aaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbccccccccccccccccccccccccccccccddddddddddddddddddddddddddddddddddddddddeee");
        System.out.println(encode);
        //测试解压
        String decode = stringCoder.decode("22a11b30c40d3e");
        System.out.println(decode);
    }
}
